<!-- right-->
<div class="member-main">
  <div>
    <div class="title title2"><{t}>兑换优惠券<{/t}></div>
    <p class="admin-title pl12"><{t}>您当前的有效积分：<{/t}><span class="point pr2"><{$member.usage_point}></span>分</p>
    <{if !$couponList}>
    <div class="noinfo"><{t}>尚无可兑换的优惠券<{/t}></div>
    <{else}>
    <div class="title-bg">
      <div><{t}>可兑换的优惠券<{/t}></div>
    </div>
    <table width="100%" cellpadding="0" cellspacing="0" class="gridlist border-all gridlist_member">
      <col class=" textleft">
      </col>

      <col class="span-6 ">
      </col>

      <col class="span-2">
      </col>

      <col class="span-2">
      </col>

      <thead>
        <tr>
          <th align="center" class="first"><{t}>名称<{/t}></th>
          <th><{t}>有效期<{/t}></th>
          <!--    <th><{t}>截止时间<{/t}></th>
-->
          <th><{t}>所需积分<{/t}></th>
          <th><{t}>操作<{/t}></th>
        </tr>
      </thead>
      <tbody>
      <{foreach from=$couponList item=item key=key}>
      <tr>
        <td><{$item.cpns_name}></td>
        <td><{$item.time.from_time|cdate:SDATE_STIME}> ~ <{$item.time.to_time|cdate:SDATE_STIME}></td>
        <!--<td><{$item.time.to_time|cdate:SDATE_STIME}></td>
-->
        <td align="center"><{$item.cpns_point}></td>
        <td align="center"><{if $site_point_usage =='true'}><{if $item.cpns_status}><a href="<{link app=b2c ctl=site_member act=exchange arg0=$item.cpns_id}>" class="font-blue"  rel="_request"><{t}>兑换<{/t}><{else}><{t}> 当前等级或积分不够不能兑换<{/t}><{/if}></a><{else}><{t}>积分只用于抵扣<{/t}><{/if}></td>
      </tr>
      <{/foreach}>
      </tbody>

    </table>
    <{pagers data=$pager}>
    <{/if}>
    </div>
</div>

<!-- right-->
